package com.bocai.kelala.ui.travel.stroke.contract;

import com.bocai.kelala.base.BaseView;
import com.bocai.kelala.bean.CheckLineBean;
import com.bocai.kelala.bean.MyGradOrderBean;
import com.bocai.kelala.bean.MyPublishStrokeBean;
import com.bocai.kelala.bean.OrderDetailBean;

import java.util.List;

/**
 * Created by yuanfei on 2017/6/28.
 */

public interface MyStrokeContract {

    interface view extends BaseView {

        void myStrokePublish(MyPublishStrokeBean bean);

        void myGradOrder(MyGradOrderBean bean);

        void getOrderDetail(OrderDetailBean bean);

        void orderPaySuccess(String result);

        void cancelOrderSuccess();

        void addDepartTimeSuccess();

    }
    abstract static class presenter  {


        public  abstract void myStrokePublish(String pageIndex,String pageSize);

        public abstract void myGrabOrder(String pageIndex,String pageSize);

        public abstract void orderDetail(String orderId);

        public abstract void orderPay(String type,String orderId);

        public abstract void cancelOrder(String orderId);

        public abstract void addDepartTime(String orderId,String time);


    }

}
